from globle import envs
from crewai import Agent,LLM


# CrewAI
llm = LLM(
        model="openai/deepseek-chat",  # 注意前面加openai
        base_url="https://api.deepseek.com/v1",
        temperature=0.1,
        max_tokens=256,
    )


agent = Agent(
    role="助手",  # 角色
    goal="与用户聊天", # 目标
    backstory="友善的助手", # 背景
    llm = llm
)

r = agent.kickoff('3+2等于多少')
print(r)
